﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 分享海报分类表
    ///</summary>
    [SugarTable("xrc_poster_type")]
    public class XrcPosterType
    {
        /// <summary>
        /// 分类Id
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 所属店铺分类Id
        ///</summary>
        [SugarColumn(ColumnName = "gid")]
        public int Gid { get; set; }
        /// <summary>
        /// 分类名称 
        ///</summary>
        [SugarColumn(ColumnName = "type_name")]
        public string Type_Name { get; set; }

        /// <summary>
        /// 分类状态 0 不可以 1 可用 
        /// 默认值: 0
        ///</summary>
        [SugarColumn(ColumnName = "state")]
        public byte? State { get; set; }

        /// <summary>
        /// 创建时间 
        ///</summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 删除状态  0未删除  1 已删除 
        /// 默认值: 0
        ///</summary>
        [SugarColumn(ColumnName = "delete")]
        public byte? Delete { get; set; }
    }
}
